﻿using Hiver.Entity;

namespace Hiver.Data
{
    /// <summary>
    /// 用户仓库接口
    /// </summary>
    public interface IUserRepository
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        UserInfo Login(string userName, string password);
    }
}